package com.shijie.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shijie.entity.Submit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.nio.file.Path;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class JudgeDTO {

    private String code;

    private Submit.CodeType codeType;

    private Class<?>[] allType;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Path casePath;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Path resultPath;

}
